package july.framework.exsolver.handler;

import july.framework.exsolver.factory.ProxyFactory;
import july.framework.exsolver.factory.impl.DefaultProxyFactory;

public class ProxyHandler {

    public static <T> T getProxy(Class<T> factoryType){

        ProxyFactory<T> proxyFactory = new DefaultProxyFactory(factoryType);

        return proxyFactory.createProxy();
    }
}
